1 /*
2 * Angkor Web Framework
3 *
4 * Distributable under LGPL license.
5 * See terms of license at gnu.org.
6 */
7
8 package com.tirsen.angkor.table;
9
10 import com.tirsen.angkor.View;
11 import com.tirsen.angkor.widget.TextLabel;
12 import com.tirsen.angkor.widget.ValueModel;
13
14 /***
15 * <!-- $Id: ReadOnlyCellViewFactory.java,v 1.3 2002/10/09 21:37:37 tirsen Exp $ -->
16 * <!-- $Author: tirsen $ -->
17 *
18 * @author Jon Tirs´n (tirsen@users.sourceforge.net)
19 * @version $Revision: 1.3 $
20 */
21 public class ReadOnlyCellViewFactory implements TableCellViewFactory
22 {
23 public View getTableCellView(Table table, ValueModel value, int row, int column)
24 {
25 TextLabel label = new TextLabel();
26 label.setModel(value);
27 return label;
28 }
29 }
This page was automatically generated by Maven